package net.sunofbeaches.controller;

import net.sunofbeaches.response.ResponseResult;
import net.sunofbeaches.response.ResponseState;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ErrorPageController {
    @GetMapping("/403")
    public ResponseResult page403(){
        return new ResponseResult(ResponseState.ERROR_403);
    }
}
